home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / include / Xm / AtomMgr.h.z / AtomMgr.h
Encoding:
C/C++ Source or Header  |  2003-11-18  |  2.5 KB  |  87 lines

  1. /*
  2.  * AtomMgr.h
  3.  *
  4.  * Copyright 2000, Silicon Graphics, Inc.
  5.  * ALL RIGHTS RESERVED
  6.  * 
  7.  * UNPUBLISHED -- Rights reserved under the copyright laws of the United
  8.  * States.   Use of a copyright notice is precautionary only and does not
  9.  * imply publication or disclosure.
  10.  *
  11.  * U.S. GOVERNMENT RESTRICTED RIGHTS LEGEND:
  12.  * Use, duplication or disclosure by the Government is subject to restrictions
  13.  * as set forth in FAR 52.227.19(c)(2) or subparagraph (c)(1)(ii) of the Rights
  14.  * in Technical Data and Computer Software clause at DFARS 252.227-7013 and/or
  15.  * in similar or successor clauses in the FAR, or the DOD or NASA FAR
  16.  * Supplement.  Contractor/manufacturer is Silicon Graphics, Inc.,
  17.  * 2011 N. Shoreline Blvd. Mountain View, CA 94039-7311.
  18.  *
  19.  * THE CONTENT OF THIS WORK CONTAINS CONFIDENTIAL AND PROPRIETARY
  20.  * INFORMATION OF SILICON GRAPHICS, INC. ANY DUPLICATION, MODIFICATION,
  21.  * DISTRIBUTION, OR DISCLOSURE IN ANY FORM, IN WHOLE, OR IN PART, IS STRICTLY
  22.  * PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF SILICON
  23.  * GRAPHICS, INC.
  24.  */
  25. /* 
  26.  * @OSF_COPYRIGHT@
  27.  * (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
  28.  * ALL RIGHTS RESERVED
  29.  *  
  30. */ 
  31. /*
  32.  * HISTORY
  33.  * Motif Release 1.2.5
  34. */
  35. /*   $XConsortium: AtomMgr.h /main/cde1_maint/2 1995/08/18 18:50:42 drk $ */
  36. /*
  37. *  (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  38. #ifndef _XmAtomMgr_h
  39. #define _XmAtomMgr_h
  40.  
  41. #include <Xm/Xm.h>
  42.  
  43. #ifdef __cplusplus
  44. extern "C" {
  45. #endif
  46.  
  47. #define XM_ATOM_CACHE
  48.  
  49. #ifdef XM_ATOM_CACHE
  50. /********    Public Function Declarations    ********/
  51. #ifdef _NO_PROTO
  52.  
  53. extern Atom XmInternAtom() ;
  54. extern String XmGetAtomName() ;
  55.  
  56. #else
  57.  
  58. extern Atom XmInternAtom( 
  59.                         Display *display,
  60.                         String name,
  61. #if NeedWidePrototypes
  62.                         int only_if_exists) ;
  63. #else
  64.                         Boolean only_if_exists) ;
  65. #endif /* NeedWidePrototypes */
  66. extern String XmGetAtomName( 
  67.                         Display *display,
  68.                         Atom atom) ;
  69.  
  70. #endif /* _NO_PROTO */
  71. /********    End Public Function Declarations    ********/
  72. #else /* XM_ATOM_CACHE */
  73. #define XmInternAtom(display, name, only_if_exists) \
  74.         XInternAtom(display, name, only_if_exists)
  75. #define XmGetAtomName(display, atom) \
  76.         XGetAtomName(display, atom)
  77. #endif /* XM_ATOM_CACHE */
  78.  
  79. #ifdef __cplusplus
  80. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  81. #endif
  82.  
  83. #define XmNameToAtom(display, atom) \
  84.         XmGetAtomName(display, atom)
  85.  
  86. #endif /* _XmAtomMgr_h */
  87.